@import '../../../css/colorVar.less';
.AddFenzi {
  :global {
    .ant-legacy-form-item-control-wrapper {
      max-width: unset !important;
      flex: 1;
    }
    .ant-legacy-form-item {
      margin-bottom: 10px;
      display: flex;
      .ant-legacy-form-item-label {
        width: 8% !important;
        flex-basis: 8% !important;
      }
    }
    .ant-select-selection--single {
      height: 32px;
    }
    .ant-select-selection__rendered {
      line-height: 32px;
    }
  }
  .templateName {
    :global {
      .ant-legacy-form-item {
        margin-bottom: 0;
        display: flex;
        .ant-legacy-form-item-label {
          width: auto;
        }
        .ant-legacy-form-item-control-wrapper {
          flex: 1;
          max-width: unset !important;
        }
      }
    }
  }

  .cardList {
    height: 200px;
    margin-top: 8px;
    background: rgba(255, 255, 255, 5%);
    border-radius: 4px;
    border: 1px solid rgba(67, 118, 255, 20%);
    overflow-y: auto;
    :global {
      .ant-tree li .ant-tree-node-content-wrapper {
        width: calc(~'100% - 24px');
        height: 32px;
        line-height: 32px;
      }
      .ant-tree li span.ant-tree-switcher {
        padding-top: 2px;
      }
    }
  }
  .myNode {
    font-size: 14px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: rgba(0, 0, 0, 65%);
    line-height: 32px;
    padding-right: 12px;
    display: flex;
    > span:nth-child(1),
    > span:nth-child(3) {
      margin: 0 4px;
    }
    > span:last-child {
      margin-left: 10px;
    }
    > div {
      display: flex;
      overflow: hidden;
      > div {
        overflow: hidden;
        min-width: 0;
        display: flex;
        > div {
          flex: 1;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }
        > span:last-child {
          margin-left: 10px;
        }
      }
    }
  }
  .myNode1 {
    display: flex;
    flex-wrap: wrap;
  }
  .bottomList {
    max-height: 106px;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    padding: 8px 16px;
    background: rgba(67, 118, 255, 5%);
    border-radius: 4px;
  }
}
.topCls {
  > div:nth-child(3) {
    display: flex;
    > div:first-child {
      flex: 1;
      min-width: 0;
      :global {
        .ant-legacy-form-item-label {
          flex-basis: 11.05% !important;
        }
        .ant-legacy-form-item-control-wrapper {
          flex: 1;
          padding-right: 20px;
          max-width: unset !important;
        }
      }
    }
    > div:last-child {
      padding-top: 3px;
      flex-grow: 0;
      flex-shrink: 0;
      > div {
        margin-right: 16px;
      }
      > div:last-child {
        margin: 0;
      }
    }
  }
  > div:nth-child(5) {
    > div:first-child {
      width: 30.3%;
      :global {
        .ant-legacy-form-item-label {
          flex-basis: 26.2% !important;
        }
      }
    }
    > div:last-child {
      padding-top: 3px;
      > div {
        margin-left: 20px;
      }
    }
  }
  > div:nth-child(6) {
    display: flex;
    > div:first-child {
      width: 24%;
      :global {
        .ant-legacy-form-item {
          padding-left: 33.08%;
        }
      }
    }
    > div:nth-child(2) {
      margin-left: 20px;
      width: 151.08px;
      > div > div {
        width: 100%;
      }
    }
    > div:nth-child(3) {
      margin: 0 20px;
      width: 80px;
    }
    > div:nth-child(4) {
      flex: 1;
      max-width: unset !important;
      padding-top: 3px;
      :global {
        .ant-select-selection__rendered {
          line-height: 32px;
          height: 32px;
          overflow-y: auto;
        }
        .ant-legacy-form-item-control-wrapper {
          flex: 1;
        }
        .ant-legacy-form-item-control {
          line-height: 24px;
        }
        .ant-select-selection--multiple {
          padding-bottom: 0;
        }
      }
    }
    > div:last-child {
      padding-top: 3px;
      > div:first-child {
        margin: 0 16px 0 20px;
      }
    }
  }
}
